#ifndef _DB_H
#define _DB_H

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>

typedef unsigned short int uint16_t;

char ** pptable;
int iRow;
int iColumn;

enum scr
{
	DB_ERR = -1,
	DB_OK,
};

int db_init(void);
int request_temp_humi(void);
int db_insert(uint16_t ,uint16_t , uint16_t);
int db_seek(int,int,int);
int db_delete(void);

#endif
